<?php
/**
 *  StorableClass class unit tests
 *
 *  @author Jean-Lou Dupont
 *  @version @@package-version@@
 */

require_once 'web-bloks/StorableClass/StorableClass.php';

class TestClass extends WB_StorableClass
{
	var $nullProperty = null;
	
	const hiddenProperty = 'Hidden Property'; // just for matching $_hiddenProperty in test cases.
	
	var $_hiddenProperty = 'Hidden Property';
	
	var $stringProperty = 'string property';
	var $booleanProperty = true;
	var $doubleProperty = 1.0;
	var $arrayProperty = array( 'key1' => 'value1', 'key2' => 'value2' );
	
	function __construct()
	{
		parent::__construct( );
	}
	
	function getClassPath()
	{
		return __FILE__; //don't care for these tests.		
	}

	function getClassVersion()
	{
		return '$Id$';
	}

}
class TestClass2 extends WB_StorableClass
{
	var $stringProperty = 'string property';
	var $stringProperty2 = 'string property';
	var $booleanProperty = true;
	var $doubleProperty = 1.0;
	var $arrayProperty = array( 'key1' => 'value1' );
	var $arrayProperty2 = array( 'key1' => 'value1' );

	function __construct()
	{
		parent::__construct( );
	}
		
	function getClassPath()
	{
		return __FILE__; //don't care for these tests.
	}

	function getClassVersion()
	{
		return '$Id$';
	}

}
